﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace WTwitter.Model.Framework.TextSplitter {
	sealed class Tag : TextComponent {
		public Tag(string name) {
			Text = name;
		}

		public string WebUrl {
			get { return "http://twitter.com/search?q=" + HttpUtility.UrlEncode(Text); }
		}

		public override TextComponentType Type {
			get { return TextComponentType.Tag; }
		}
	}
}
